﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace PHMEE.Admin
{
    public class ThresholdDto : EntityDto<Guid?>
    {
        /// <summary>
        ///采集定义类型外键 
        /// </summary>
        public Guid CategoryId { get; set; }
        /// <summary>
        /// 采集定义的名称
        /// </summary>
        public string CategoryCategoryName { get; set; }
        /// <summary>
        /// 测点外键
        /// </summary>
        public Guid PointId { get; set; }
        /// <summary>
        /// 一级门限
        /// </summary>
        public float FirstThreshold { get; set; }
        /// <summary>
        /// 二级门限
        /// </summary>
        public float SecondThreshold { get; set; }
        /// <summary>
        /// 三级门限
        /// </summary>
        public float ThirdThreshold { get; set; }
        /// <summary>
        /// 四级门限
        /// </summary>
        public float FourthThreshold { get; set; }
        /// <summary>
        /// 采样定义类型
        /// </summary>
        public LimitParaEnum LimitPara { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        [DefaultValue(false)]
        public bool IsEnable { get; set; }
    }
}
